<?php
require 'common.php';
$dir=$_GET['dir'];
if(del_dir($dir))
{
	echo "删除成功";
}else{
	echo "删除失败";
}

$url = "index.php?dir=".dirname($dir);
echo "<script>setTimeout(function(){
	location.href='$url';
},2000);</script>";


?>

